package com.qj.yantaishan.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_order_coupon
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class OrderCoupon
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long uid;

    /** 优惠券ID */
    @Excel(name = "优惠券ID")
    private Long couponId;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 优惠券名称 */
    @Excel(name = "优惠券名称")
    private String name;

    /** user_coupon表id */
    @Excel(name = "user_coupon表id")
    private Long userCouponId;

    /** 优惠券金额 */
    @Excel(name = "优惠券金额")
    private BigDecimal money;

    /** 优惠券核销码 */
    @Excel(name = "优惠券核销码")
    private String cardCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setCouponId(Long couponId) 
    {
        this.couponId = couponId;
    }

    public Long getCouponId() 
    {
        return couponId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserCouponId(Long userCouponId) 
    {
        this.userCouponId = userCouponId;
    }

    public Long getUserCouponId() 
    {
        return userCouponId;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setCardCode(String cardCode) 
    {
        this.cardCode = cardCode;
    }

    public String getCardCode() 
    {
        return cardCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("uid", getUid())
            .append("couponId", getCouponId())
            .append("storeId", getStoreId())
            .append("name", getName())
            .append("userCouponId", getUserCouponId())
            .append("money", getMoney())
            .append("cardCode", getCardCode())
            .toString();
    }
}
